package com.mdd.admin.vo.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * GoodsCategoryVo
 */
@ApiModel(value = "服务分类管理分页对象", description = "服务分类管理分页对象")
@Data
public class GoodsCategoryListVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "分类名称")
    private String name;
    @ApiModelProperty(value = "父级id")
    private Long pid;
    @ApiModelProperty(value = "等级")
    private Integer level;
    @ApiModelProperty(value = "分类图标")
    private String image;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "是否显示:1-是;0-否")
    private Integer isShow;
    @ApiModelProperty(value = "是否显示:1-是;0-否")
    private String isShowName;
    @ApiModelProperty(value = "是否首页推荐:1-是;0-否;")
    private Integer isRecommend;
    @ApiModelProperty(value = "是否首页推荐:1-是;0-否;")
    private String isRecommendName;
    @ApiModelProperty(value = "创建时间")
    private String createTime;
    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "子分类")
    private List<GoodsCategoryListVo> sons;

}
